package com.xintonghua.bussiness.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：wanxianyi
 * 时间：2018/4/17.
 * 包名：com.xintonghua.bussiness.bean
 */

public class CustomerBean implements Parcelable {

    private String wx;
    private String occupation;  //职业
    private String premenstrualCondition; //经期情况
    private String introducer; //介绍人
    private String head_img;
    private int sex;
    private String weight;
    private String source;    //来源渠道
    private String bloodType; //血型
    private String referee;   // 推荐人
    private String membershipNumber; //会员编号
    private int shop_id;
    private String hairdresser;  //负责美容师
    private String entryTime;    //入店时间
    private String constellation;
    private int user_id;
    private String storeAddress;  //门店地址
    private String customerNote;  //备注
    private String nickname;
    private int id;
    private String memberType;
    private String email;
    private String height;

    private String birthday;

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public String getPremenstrualCondition() {
        return premenstrualCondition;
    }

    public void setPremenstrualCondition(String premenstrualCondition) {
        this.premenstrualCondition = premenstrualCondition;
    }

    public String getIntroducer() {
        return introducer;
    }

    public void setIntroducer(String introducer) {
        this.introducer = introducer;
    }

    public String getHead_img() {
        return head_img;
    }

    public void setHead_img(String head_img) {
        this.head_img = head_img;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getBloodType() {
        return bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    public String getReferee() {
        return referee;
    }

    public void setReferee(String referee) {
        this.referee = referee;
    }

    public String getMembershipNumber() {
        return membershipNumber;
    }

    public void setMembershipNumber(String membershipNumber) {
        this.membershipNumber = membershipNumber;
    }

    public int getShop_id() {
        return shop_id;
    }

    public void setShop_id(int shop_id) {
        this.shop_id = shop_id;
    }

    public String getHairdresser() {
        return hairdresser;
    }

    public void setHairdresser(String hairdresser) {
        this.hairdresser = hairdresser;
    }

    public String getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(String entryTime) {
        this.entryTime = entryTime;
    }

    public String getConstellation() {
        return constellation;
    }

    public void setConstellation(String constellation) {
        this.constellation = constellation;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getStoreAddress() {
        return storeAddress;
    }

    public void setStoreAddress(String storeAddress) {
        this.storeAddress = storeAddress;
    }

    public String getCustomerNote() {
        return customerNote;
    }

    public void setCustomerNote(String customerNote) {
        this.customerNote = customerNote;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMemberType() {
        return memberType;
    }

    public void setMemberType(String memberType) {
        this.memberType = memberType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public CustomerBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.wx);
        dest.writeString(this.occupation);
        dest.writeString(this.premenstrualCondition);
        dest.writeString(this.introducer);
        dest.writeString(this.head_img);
        dest.writeInt(this.sex);
        dest.writeString(this.weight);
        dest.writeString(this.source);
        dest.writeString(this.bloodType);
        dest.writeString(this.referee);
        dest.writeString(this.membershipNumber);
        dest.writeInt(this.shop_id);
        dest.writeString(this.hairdresser);
        dest.writeString(this.entryTime);
        dest.writeString(this.constellation);
        dest.writeInt(this.user_id);
        dest.writeString(this.storeAddress);
        dest.writeString(this.customerNote);
        dest.writeString(this.nickname);
        dest.writeInt(this.id);
        dest.writeString(this.memberType);
        dest.writeString(this.email);
        dest.writeString(this.height);
        dest.writeString(this.birthday);
    }

    protected CustomerBean(Parcel in) {
        this.wx = in.readString();
        this.occupation = in.readString();
        this.premenstrualCondition = in.readString();
        this.introducer = in.readString();
        this.head_img = in.readString();
        this.sex = in.readInt();
        this.weight = in.readString();
        this.source = in.readString();
        this.bloodType = in.readString();
        this.referee = in.readString();
        this.membershipNumber = in.readString();
        this.shop_id = in.readInt();
        this.hairdresser = in.readString();
        this.entryTime = in.readString();
        this.constellation = in.readString();
        this.user_id = in.readInt();
        this.storeAddress = in.readString();
        this.customerNote = in.readString();
        this.nickname = in.readString();
        this.id = in.readInt();
        this.memberType = in.readString();
        this.email = in.readString();
        this.height = in.readString();
        this.birthday = in.readString();
    }

    public static final Creator<CustomerBean> CREATOR = new Creator<CustomerBean>() {
        @Override
        public CustomerBean createFromParcel(Parcel source) {
            return new CustomerBean(source);
        }

        @Override
        public CustomerBean[] newArray(int size) {
            return new CustomerBean[size];
        }
    };
}
